From: Carlos Garnacho Date: Thu, 18 Mar 2021 18:00:13 +0000 (+0100) Subject: grabHelper: Propagate events while this._ignoreUntilRelease X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~7 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=91a797871163a785e353b5607f509e6936ea2080;p=gnome-shell.git grabHelper: Propagate events while this._ignoreUntilRelease Let these events to be handled as usual, so that the grabbing actor can handle input differently (e.g. trigger DnD) while the grabHelper is active. Part-of: --- diff --git a/js/ui/grabHelper.js b/js/ui/grabHelper.js index 532f74417..e70285bde 100644 --- a/js/ui/grabHelper.js +++ b/js/ui/grabHelper.js @@ -306,7 +306,7 @@ var GrabHelper = class GrabHelper { if (this._ignoreUntilRelease && (motion || release || touch)) { if (release || touchEnd) this._ignoreUntilRelease = false; - return Clutter.EVENT_STOP; + return Clutter.EVENT_PROPAGATE; } if (this._isWithinGrabbedActor(event.get_source()))